package com.flight.trans.bean;

import java.util.List;

/**
 * 首页主菜单内容
 */
public class RouterBean {

    private String msg;
    private int code;
    private List<RouterData> data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<RouterData> getData() {
        return data;
    }

    public void setData(List<RouterData> data) {
        this.data = data;
    }

    public static class RouterData {
        private String name;
        private String path;
        private boolean hidden;
        private String redirect;
        private String component;
        private boolean alwaysShow;
        private RouterMeta meta;
        private List<RouterChildren> children;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPath() {
            return path;
        }

        public void setPath(String path) {
            this.path = path;
        }

        public boolean isHidden() {
            return hidden;
        }

        public void setHidden(boolean hidden) {
            this.hidden = hidden;
        }

        public String getRedirect() {
            return redirect;
        }

        public void setRedirect(String redirect) {
            this.redirect = redirect;
        }

        public String getComponent() {
            return component;
        }

        public void setComponent(String component) {
            this.component = component;
        }

        public boolean isAlwaysShow() {
            return alwaysShow;
        }

        public void setAlwaysShow(boolean alwaysShow) {
            this.alwaysShow = alwaysShow;
        }

        public RouterMeta getMeta() {
            return meta;
        }

        public void setMeta(RouterMeta meta) {
            this.meta = meta;
        }

        public List<RouterChildren> getChildren() {
            return children;
        }

        public void setChildren(List<RouterChildren> children) {
            this.children = children;
        }

        public static class RouterMeta {
            private String title;
            private String icon;
            private boolean noCache;
            private Object link;

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getIcon() {
                return icon;
            }

            public void setIcon(String icon) {
                this.icon = icon;
            }

            public boolean isNoCache() {
                return noCache;
            }

            public void setNoCache(boolean noCache) {
                this.noCache = noCache;
            }

            public Object getLink() {
                return link;
            }

            public void setLink(Object link) {
                this.link = link;
            }
        }

        public static class RouterChildren {
            private String name;
            private String path;
            private boolean hidden;
            private String component;
            private Meta meta;

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getPath() {
                return path;
            }

            public void setPath(String path) {
                this.path = path;
            }

            public boolean isHidden() {
                return hidden;
            }

            public void setHidden(boolean hidden) {
                this.hidden = hidden;
            }

            public String getComponent() {
                return component;
            }

            public void setComponent(String component) {
                this.component = component;
            }

            public Meta getMeta() {
                return meta;
            }

            public void setMeta(Meta meta) {
                this.meta = meta;
            }

            public static class Meta {
                private String title;
                private String icon;
                private boolean noCache;
                private Object link;

                public String getTitle() {
                    return title;
                }

                public void setTitle(String title) {
                    this.title = title;
                }

                public String getIcon() {
                    return icon;
                }

                public void setIcon(String icon) {
                    this.icon = icon;
                }

                public boolean isNoCache() {
                    return noCache;
                }

                public void setNoCache(boolean noCache) {
                    this.noCache = noCache;
                }

                public Object getLink() {
                    return link;
                }

                public void setLink(Object link) {
                    this.link = link;
                }
            }
        }
    }
}
